import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_share/flutter_share_platform_interface.dart';
import 'package:flutter_share/flutter_share_method_channel.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockFlutterSharePlatform
    with MockPlatformInterfaceMixin
    implements FlutterSharePlatform {

  @override
  Future<String?> getPlatformVersion() => Future.value('42');

  @override
  Future<bool?> share(Map<String, String> params) {
    // TODO: implement share
    throw UnimplementedError();
  }
}

void main() {
  final FlutterSharePlatform initialPlatform = FlutterSharePlatform.instance;

  test('$MethodChannelFlutterShare is the default instance', () {
    expect(initialPlatform, isInstanceOf<MethodChannelFlutterShare>());
  });
}
